package app.auto.runner.base.intf;

import java.util.Map;

public class Setter extends FunCallback {
    private String[] s;

    public String[] getParams() {
        return s;
    }

    public Setter(String... s) {
        params(s);
    }

    public Setter params(String... s) {
        this.s = s;
        return this;
    }

    @Override
    public void onCallback(Object result, Object object) {
        super.onCallback(result, object);
        set(result.toString(), ((Map) object).get(result.toString()), ((Map) object));

    }


    public void set(String key, Object value, Map m) {

    }

}
